import java.util.Scanner;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/6 13:50
 * @Copyright 博为峰
 */
public class Demo01 {
    public static void main(String[] args) {

        //判断语句

        /*
           if(条件表达式){//比较运算符  逻辑运算符
              执行语句;
           }
         */

        int a = 6;
        if (a > 5) {
//            System.out.println("a = " + a);
        }

        if (a > 5) {
            if (a > 3) {
//                System.out.println("a = " + a);
            }
        }

        if (a < 5)//控制最近的单条语句
            if (a < 3)
                System.out.println("a = " + a);
//        System.out.println("abc");

        //根据用户的输入，判断并输入对应的周几

        Scanner scanner = new Scanner(System.in);
        int s = Integer.parseInt(scanner.nextLine());
        if (s == 1) System.out.println("周一");
        if (s == 2) System.out.println("周二");
        if (s == 3) System.out.println("周三");
        if (s == 4) System.out.println("周四");
        if (s == 5) System.out.println("周五");
        if (s == 6) System.out.println("周六");
        if (s == 7) System.out.println("周日");
    }
}
